package com.woniuxy.commons.exception.code;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum ProductExceptionCode {
    PRODUCT_NOT_STORE("商铺id未录入", 5201),
    PRODUCT_NOT_NAME("餐品名称未录入", 5202),
    PRODUCT_NOT_ID("餐品id没有找到", 5203),
    PRODUCT_ERROR_STORE("该商铺不存在", 5204);
    private String msg;
    private Integer code;

    public String getMsg() {
        return msg;
    }

    public Integer getCode() {
        return code;
    }
}
